﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FreedomERP.Models;
using FreedomERP.Comm;
using FreedomERP.Models.Inv;
using System.Web;

namespace FreedomERP.Services.Inv
{
    /// <summary>
    /// 收货单业务层接口
    /// </summary>
    interface IInvReceiveOrderService
    {
        List<InvReceiveOrder> QueryReceiveOrderPaggingByParam(PagingParams paggingParams, out int totalCount);//根据条件获取收货单列表
        InvReceiveOrder GetReceiveOrderByFId(String FId);//根据FId获取信息
        void AddReceiveOrder(InvReceiveOrderView receiveOrderView,string currAccountFId,out string FId);//添加收货单
        void ModifyReceiveOrder(InvReceiveOrderView receiveOrderView, string currAccountFId);//修改收货单
        void DeleteReceiveOrder(string FId);//删除收货单
        List<InvReceiveOrderDetail> GetReceiveOrderDetailListByFParentId(string FParentId);//根据FParentId获取明细列表
        void ApproveReceiveOrder(string FId, string currAccountFId);//审核收货单
        void UnApproveReceiveOrder(string FId, string currAccountFId);//反审核收货单

        /// <summary>
        /// 打印条码
        /// </summary>
        /// <author>梁建东</author>
        /// <returns></returns>
        /*void PrintBarcode(string FId, string serverPath, HttpResponseBase response);*/
    }
}
